TSEC driver: Change MDIO support to allow access to any PHYs on the MDIO bus
author[email protected] <[email protected]>
Wed, 16 Jan 2008 11:40:51 +0000 (11:40 +0000)
committerBen Warren <[email protected]>
Wed, 16 Jan 2008 21:51:35 +0000 (16:51 -0500)
commit55fe7c57a8b99a130925052dcdbb77f053dc50e3
treea61d181365c2ba75b908f1a40322618db932d50a
parent2465665b73ac2f688af945b1ed510752afa816a4
TSEC driver: Change MDIO support to allow access to any PHYs on the MDIO bus

The current TSEC driver limits MDIO access to the devices that have been configured as attached
to a TSEC MAC. This patch allows access to any PHY device on the MDIO bus through the 'mii' commands.

Signed-off-by: Michael Firth <[email protected]>
Acked-by: Andy Fleming <[email protected]>
Signed-off-by: Ben Warren <[email protected]>
drivers/net/tsec.c